package cn.yunyichina.provider.register.vo;

import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;
import cn.yunyichina.provider.framework.annotation.validate.ValidateSize;
import com.alibaba.fastjson.JSONObject;

/**
 * 锁号接口入参
 * Created by Administrator on 2016/12/2.
 */
public class OrderRegisterVoRequest implements AnnotationValidable {

    /* 医院编码 */
    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "50")
    private String hospitalCode;

    /* 分院编码 */
    @ValidateSize(minSize = "0", maxSize = "50")
    private String branchCode;

    private String branchId;

    private String branchName;

    /* 云医订单号 */
    private String yytOrdNum;

    /* 科室代码 */
    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "50")
    private String deptCode;

    /* 科室名称 */
    private String deptName;

    /* 医生/专科代码 */
    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "50")
    private String doctorCode;

    /* 医生名称 */
    private String doctorName;

    private String doctorTitle;

    /* 号源日期（此字段来区分当天和预约）*/
    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "20")
    private String scheduleDate;

    /* 时段
    0-所有时段
    1-上午
    2-下午
    3-晚上*/
    private String timeFlag;

    /* 分时开始时间 */
    private String beginTime;

    /* 分时结束时间 */
    private String endTime;

    /* 排班ID */
    private String workId;

    /* 挂号费 */
    @ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "9")
    private String regFee;

    /* 诊疗费 医保为医报诊疗费 */
    @ValidateNotNullAndNotEmpty
   	@ValidateSize(minSize = "0", maxSize = "9")
    private String treatFee;

    private String ssTreatFee;

    /* 患者诊疗卡类型 */
	@ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "2")
    private String patCardType;

    /* 患者诊疗卡号码 */
	@ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "50")
    private String patCardNo;

	@ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "30")
    private String patName;

    /* 预约方式 */
	@ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "2")
    private String orderMode;

    /* 下单时间  */
//	@ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "20")
    private String orderTime;

    /* 预约号码 */
    private String reserveNo;

    /* 是否医保 0 不是，1 是 */
    @ValidateNotNullAndNotEmpty
	@ValidateSize(minSize = "0", maxSize = "2")
    private String isInsurance = "0";

    private String patIdType;
    private String patIdNo;
    private String patMobile;
    private String patAddress;
    private String patSex;
    private String patId;
    private String openId;
    private String userId;
    private String appId;
    private String payMode;
    private String ownership;
    private String isNotPay;//1：不用支付

    private JSONObject extraParams;

    public JSONObject getExtraParams() {
        return extraParams;
    }

    public void setExtraParams(JSONObject extraParams) {
        this.extraParams = extraParams;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public String getScheduleDate() {
        return scheduleDate;
    }

    public void setScheduleDate(String scheduleDate) {
        this.scheduleDate = scheduleDate;
    }

    public String getTimeFlag() {
        return timeFlag;
    }

    public void setTimeFlag(String timeFlag) {
        this.timeFlag = timeFlag;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getRegFee() {
        return regFee;
    }

    public void setRegFee(String regFee) {
        this.regFee = regFee;
    }

    public String getTreatFee() {
        return treatFee;
    }

    public void setTreatFee(String treatFee) {
        this.treatFee = treatFee;
    }

    public String getPatCardType() {
        return patCardType;
    }

    public void setPatCardType(String patCardType) {
        this.patCardType = patCardType;
    }

    public String getPatCardNo() {
        return patCardNo;
    }

    public void setPatCardNo(String patCardNo) {
        this.patCardNo = patCardNo;
    }

    public String getOrderMode() {
        return orderMode;
    }

    public void setOrderMode(String orderMode) {
        this.orderMode = orderMode;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getIsInsurance() {
        return isInsurance;
    }

    public void setIsInsurance(String isInsurance) {
        this.isInsurance = isInsurance;
    }


    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getReserveNo() {
        return reserveNo;
    }

    public void setReserveNo(String reserveNo) {
        this.reserveNo = reserveNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName;
    }

    public String getDoctorTitle() {
        return doctorTitle;
    }

    public void setDoctorTitle(String doctorTitle) {
        this.doctorTitle = doctorTitle;
    }

    public String getSsTreatFee() {
        return ssTreatFee;
    }

    public void setSsTreatFee(String ssTreatFee) {
        this.ssTreatFee = ssTreatFee;
    }

    public String getYytOrdNum() {
        return yytOrdNum;
    }

    public void setYytOrdNum(String yytOrdNum) {
        this.yytOrdNum = yytOrdNum;
    }

    public String getPatIdType() {
        return patIdType;
    }

    public void setPatIdType(String patIdType) {
        this.patIdType = patIdType;
    }

    public String getPatIdNo() {
        return patIdNo;
    }

    public void setPatIdNo(String patIdNo) {
        this.patIdNo = patIdNo;
    }


    public String getPatMobile() {
        return patMobile;
    }

    public void setPatMobile(String patMobile) {
        this.patMobile = patMobile;
    }

    public String getPatAddress() {
        return patAddress;
    }

    public void setPatAddress(String patAddress) {
        this.patAddress = patAddress;
    }

    public String getPatSex() {
        return patSex;
    }

    public void setPatSex(String patSex) {
        this.patSex = patSex;
    }

    public String getPatId() {
        return patId;
    }

    public void setPatId(String patId) {
        this.patId = patId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public String getBranchId() {
        return branchId;
    }

    public void setBranchId(String branchId) {
        this.branchId = branchId;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getOwnership() {
        return ownership;
    }

    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getIsNotPay() {
        return isNotPay;
    }

    public void setIsNotPay(String isNotPay) {
        this.isNotPay = isNotPay;
    }
}
